/*
 * @Author: NtyAaron
 * @Date: 2021-03-23 14:46:41
 * @LastEditors: NtyAaron
 * @LastEditTime: 2021-04-28 02:05:23
 * @Description: file content
 * @FilePath: \dwq\pages\supportDetail\supportDetail.js
 */
import { getHelp } from '../../api/support/support'
import { _t } from '../../i18n/base'
Page({
  data: {
    helpDetails: {},
    answerInfo: {},
  },
  // 获取问题详情
  async getHelp(e) {
    let { result } = await getHelp({ helpId: e })
    this.setData({
      helpDetails: result,
    })
  },
  onLoad(e) {
    this.getHelp(e.helpId)
    wx.setNavigationBarTitle({
      title: _t()['帮助'],
    })
  },
})
